package com.sxpi.order.feign.api;

import com.sxpi.common.result.R;
import com.sxpi.order.vo.MessageOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: 董伟豪
 * @Date: 2022/10/28 17:44
 */
@FeignClient(name = "sxpi-service-message")
public interface MessageOrderFeginApi {

    /**
     * 订单消息保存
     * @param messageOrderVo
     * @return
     */
    @PostMapping("/message/order/create")
    R saveMessageOrder(@RequestBody MessageOrderVo messageOrderVo);
}
